import torch

print(torch.xpu.is_available())